/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
  config.PreserveSessionOnFileBrowser = true;
  // Define changes to default configuration here. For example:
  config.language = 'cz';
  config.entities = false;
  config.entities_latin = false;
  // config.uiColor = '#AADC6E';

  //config.ContextMenu = ['Generic','Anchor','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ; 
  
  config.height = '400px';
  config.width = '600px';
  
  //config.resize_enabled = false;
  //config.resize_maxHeight = 2000;
  //config.resize_maxWidth = 750;
  
  //config.startupFocus = true;
  
  // works only with en, ru, uk languages
  config.extraPlugins = "embed,attachment";
  
  config.toolbar = 'Full';
  
  config.toolbar_Full =
    [
        ['Maximize','Source'],
        ['PasteFromWord','Print'],
        ['Undo','Redo'],
        ['Bold','Italic','Underline','Strike','TextColor'],
        ['NumberedList','BulletedList','-','Outdent','Indent','-'],
        ['Link','Unlink','Anchor'],
        ['Format','FontSize'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        ['Table','HorizontalRule','SpecialChar','Subscript','Superscript'],//'Image', 
    ];

    config.toolbar_Mini =
     [
        ['Format'],
        ['Bold', 'Italic', 'Underline', 'Strike', 'TextColor'],
        ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        ['Table'],
        ['Link'],
        ['Undo', 'Redo'],
     ];

    config.toolbar_Forum =
        [
            ['PasteFromWord'],
            ['Undo','Redo'],
            ['Bold','Italic','Underline','Strike','TextColor'],
            ['Link','Unlink'],
            ['SpecialChar','Subscript','Superscript'],
    ];
};